package com.flitsneak.designpatterns.creationalpatterns.factory.abstractfactory;

import com.flitsneak.designpatterns.creationalpatterns.factory.abstractfactory.breakfastshop.DeliciousBreakfastShop;

/**
 * Author: flitsneak
 * Date: 2022/6/1 17:28
 * Description:
 */
public class FeiFei {
    public static void main(String[] args) {
        DeliciousBreakfastShop deliciousBreakfastShop = new DeliciousBreakfastShop();
        Breakfast friedDoughSticks = deliciousBreakfastShop.makeTraditionalFriedDoughSticks();
        System.out.println("飞飞购买的是："+friedDoughSticks.getName());
        System.out.println("飞飞花了："+friedDoughSticks.getMoney());
        System.out.println("是否美味: "+friedDoughSticks.getTaste());
    }
}
